package com.maiji.cloud.service;

import java.util.List;
import com.baomidou.mybatisplus.service.IService;
import com.maiji.cloud.entities.login.FunctionMemu;
import com.maiji.cloud.response.BaseDataResDto;
import com.maiji.cloud.response.BaseResDto;
import com.maiji.cloud.response.login.FunctionMenuResDto;
import com.maiji.cloud.response.shopingmall.BannerImgsResData;
import com.maiji.cloud.response.shopingmall.GetShoppingBannerImgsResDto;

public interface MenuService extends IService<FunctionMemu> {

	FunctionMenuResDto getFunctionMenus();

	/**
	 * 获取商品列表轮播图
	 * @return
	 */
	GetShoppingBannerImgsResDto getShoppingBannerImgs();

	/**
	 * 获得小程序图标
	 * @return
	 */
	FunctionMenuResDto getAppletFunctionMenus();

	/**
	 * 根据类型获得轮播图
	 */
	BaseDataResDto<List<BannerImgsResData>> getBannerImgsByType(String type);

    BaseDataResDto<List<FunctionMemu>> findAllFunctionMemus(List<String> types);

    BaseResDto editFunctionMemu (FunctionMemu functionMemu);
}
